package day1125;
public class Demo9 {
    public static void main(String[] args) {
        sq( 5, 6);

        double[]   scores={69.5,  78.3,  63};
        avg(scores);

    }

    private static void avg(double[] scores) {
        double sum=0;
        for(int i=0;i<scores.length;i++){
            sum=sum+scores[i];
        }
        double avg=sum/scores.length;
        System.out.println(avg);
    }







    private static void sq(int i, int i1) {
        System.out.println(i*i1);
    }



}






